package yongxin.kingdee.config;


import org.jeecgframework.core.util.PropertiesUtil;
import org.springframework.stereotype.Component;

@Component
public class K3CloundConfig {

    public static String loginUser="";

    public static String password="";

    public static String accId="";

    public static Integer lcid=0;
    /**
     * 金蝶url前缀
     */
    public static String url="http://192.168.8.7/K3Cloud";

    /**
     * 登录接口
     */
    public static String login="/Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc";

    /**
     * 查看接口
     */
    private static String view="";

    /**
     * 保存接口
     */
    public static String save="/YX.Plugin.TestApplyApi.Create,YX.Plugin.common.kdsvc";

    /**
     * 提交接口
     */
    private static String submit;


    /**
     * 审核接口
     */
    private String audit;

    /**
     * 状态改变接口
     */
    private String statusConver;

    static {
        PropertiesUtil util = new PropertiesUtil("sysConfig.properties");
        url = util.readProperty("kingdee.serverUrl");
        loginUser = util.readProperty("kingdee.loginUser");
        password = util.readProperty("kingdee.password");
        accId = util.readProperty("kingdee.accId");
        lcid=Integer.parseInt(util.readProperty("kingdee.lcid"));


    }



}
